﻿using System;
using System.Linq;
using System.Text;

namespace ZDEntity
{
    ///<summary>
    ///编码规则
    ///</summary>
    public partial class BASE_BARCODE_RULE
    {
           public BASE_BARCODE_RULE(){


           }
           /// <summary>
           /// Desc:编码规则主键
           /// Default:newid()
           /// Nullable:False
           /// </summary>           
           public string ID {get;set;}

           /// <summary>
           /// Desc:所属公司
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string COMPANY_ID {get;set;}

           /// <summary>
           /// Desc:编码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string CODE {get;set;}

           /// <summary>
           /// Desc:名称
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string FULL_NAME {get;set;}

           /// <summary>
           /// Desc:当前流水号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CURRENT_NUMBER {get;set;}

           /// <summary>
           /// Desc:编码规则格式JSON
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string RULE_FORMAT_JSON {get;set;}

           /// <summary>
           /// Desc:排序码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? SORT_CODE {get;set;}

           /// <summary>
           /// Desc:是否有效
           /// Default:1
           /// Nullable:False
           /// </summary>           
           public byte ENABLED {get;set;}

           /// <summary>
           /// Desc:描述
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string DESCRIPTION {get;set;}

           /// <summary>
           /// Desc:删除标志
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public byte DELETE_MARK {get;set;}

           /// <summary>
           /// Desc:创建日期
           /// Default:DateTime.Now
           /// Nullable:False
           /// </summary>           
           public DateTime CREATE_ON {get;set;}

           /// <summary>
           /// Desc:创建用户主键
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CREATE_USER_ID {get;set;}

           /// <summary>
           /// Desc:创建用户
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CREATE_BY {get;set;}

           /// <summary>
           /// Desc:修改日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? MODIFIED_ON {get;set;}

           /// <summary>
           /// Desc:修改用户主键
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string MODIFIED_USER_ID {get;set;}

           /// <summary>
           /// Desc:修改用户
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string MODIFIED_BY {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? BARLEVEL {get;set;}

    }
}
